package com.zsqat.eshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsqat.common.utils.PageUtils;
import com.zsqat.eshop.product.entity.AttrAttrgroupRelationEntity;
import com.zsqat.eshop.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author zsqat
 * @email 491192853@qq.com
 * @date 2020-11-19 16:40:59
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

  PageUtils queryPage(Map<String, Object> params);

  // 批量添加属性与分组关联关系
  void saveBatch(List<AttrGroupRelationVo> attrGroupRelationVos);

  // 移除分组和属性之间的关联关系
  void deleteRelation(AttrGroupRelationVo[] attrGroupRelationVos);
}

